package cn.itlaobing.eshop.service;

import cn.itlaobing.eshop.dao.FocussDao;
import cn.itlaobing.eshop.entity.ItlbFocuss;
import cn.itlaobing.eshop.exception.BusinessExceeption;

import java.sql.SQLException;
import java.util.List;

/**
 * Created by Administrator on 2017/11/14.
 */
public class FocusService{
    private FocussDao fd=new FocussDao();
    public List<ItlbFocuss> query()throws BusinessExceeption{
        List<ItlbFocuss> list=null;
        try {
           list=fd.query();
        } catch (SQLException e) {
            e.printStackTrace();
        }
        return list;
    }
}
